<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0">
		<link rel="stylesheet" href="../css/base.css" />
		<link rel="stylesheet" href="../css/index_three.css" />
		<link rel="stylesheet" href="../css/mui/mui.css" />
		<link rel="stylesheet" href="" />
		<script src="../js/jquery-1.8.3.js"></script>
		<script src="../js/mui/mui.js"></script>
		<script>
			$(function() {
				//				var clientW =  document.documentElement.clientWidth;
				var clientW = $(window).width();
				var originW = 750;
				var bili = clientW / originW * 100 + "px";
				document.querySelector("html").style.fontSize = bili;
				var h = window.innerHeight;
				$("#container").css('height', h);
			})
		</script>
	</head>

	<body>
		<div id="container">
			<header class="mui-bar mui-bar-nav">
				<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
				<h1 class="mui-title font_color">施工质量记录表</h1>
			</header>
			<div class="mui-content">
				<div class="head_font">
					<span>设备名称：${construction[0].name } ${construction[0].createtime }</span>
				</div>
				<table class="biao"  border="1" cellspacing="0">
					<thead class="cent">
						<tr class="mulu">
							<th class="mulucent">施工项目</th>
							<th>施工人员</th>
							<th>检查人员</th>
							<th>评定结果</th>
						</tr>
					</thead>
					<c:if test="${construction == null }">
						<tbody id="tdlfx"></tbody>
					</c:if>
					<c:if test="${construction != null }">
					<tbody id="tdlfx">
						<c:forEach items="${construction }" var="construction">
							<tr>
								<td>${construction.project }</td>
								<td>${construction.builders }</td>
								<td>${construction.checker }</td>
								<td>${construction.rating }</td>
							</tr>
						</c:forEach>
					</tbody>
					</c:if>
				</table>
			</div>
		</div>
	</body>
	

</html>